
function sendAjaxData(url)
{	alert("post");
	$.post(url,{name:"alex"},"getAjaxResData(data)");
}
function getAjaxResData(data)
{
	alert("getdata");
	$("#myDiv").html(data);
}


function showAjaxErrorFun(e,xhr,opt)
{
    alert("Error requesting " + opt.url + "; status:" + xhr.status + "; text:" + xhr.statusText+" ");
}